PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFFunctionShading Class / setDomain Method
An array of four numbers [xmin xmax ymin ymax] specifying the rectangular domain of coordinates over which the shading function are defined.
In This Topic
    setDomain Method
    In This Topic
    Sets the shading domain.
    Syntax
    public void setDomain( 
       double[] domain
    )

    Parameters

    domain
    An array of four numbers [xmin xmax ymin ymax] specifying the rectangular domain of coordinates over which the shading function are defined.
    Exceptions
    ExceptionDescription
    When domain does not have 4 elements.
    See Also